<template>
	<div>
	<template v-if="condition">
	<slot>
			
	</slot>
	</template>
	<template v-else>
		<i class="el-icon-warning-outline"></i>
			暂无内容
	</template>
	</div>
</template>

<script>
	export default {
		name: "noContent",
		props: {
			condition: {
				type: Boolean,
			}
		}
	}
</script>

<style>
</style>
